From: Varun Wadekar Date: Thu, 10 Jan 2019 23:45:15 +0000 (-0800) Subject: Remove unused function symbols X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22http:/www.crowdsec.net/%22/%22https:/collectd.org/%22http:/www.crowdsec.net/%22?a=commitdiff_plain;h=e095ba34d7267a34d98747837f5b4b76be96b93e;p=project%2Fbcm63xx%2Fatf.git Remove unused function symbols This patch removes the unused functions that are marked as .global in code but not defined anywhere in the code. Change-Id: Ia5057a77c0b0b4a61043eab868734cd3437304cc Signed-off-by: Varun Wadekar --- diff --git a/lib/aarch64/misc_helpers.S b/lib/aarch64/misc_helpers.S index 9aac8cfb..65e9b1e2 100644 --- a/lib/aarch64/misc_helpers.S +++ b/lib/aarch64/misc_helpers.S @@ -18,7 +18,6 @@ .globl zero_normalmem .globl zeromem - .globl zeromem16 .globl memcpy16 .globl disable_mmu_el1 diff --git a/plat/common/aarch64/platform_helpers.S b/plat/common/aarch64/platform_helpers.S index b5788fba..b8fd3a2c 100644 --- a/plat/common/aarch64/platform_helpers.S +++ b/plat/common/aarch64/platform_helpers.S @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013-2018, ARM Limited and Contributors. All rights reserved. + * Copyright (c) 2013-2019, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ @@ -26,8 +26,6 @@ .weak plat_handle_double_fault .weak plat_handle_el3_ea - .globl platform_get_core_pos - #define MPIDR_RES_BIT_MASK 0xff000000 /* ----------------------------------------------------- diff --git a/plat/common/aarch64/platform_mp_stack.S b/plat/common/aarch64/platform_mp_stack.S index f1cc6beb..972a118a 100644 --- a/plat/common/aarch64/platform_mp_stack.S +++ b/plat/common/aarch64/platform_mp_stack.S @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014-2017, ARM Limited and Contributors. All rights reserved. + * Copyright (c) 2014-2019, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ @@ -12,8 +12,6 @@ .local platform_normal_stacks .weak plat_get_my_stack .weak plat_set_my_stack - .globl platform_get_stack - .globl platform_set_stack /* --------------------------------------------------------------------- * When the compatility layer is disabled, the new platform APIs diff --git a/plat/common/aarch64/platform_up_stack.S b/plat/common/aarch64/platform_up_stack.S index 0ff69305..c6e5e2d7 100644 --- a/plat/common/aarch64/platform_up_stack.S +++ b/plat/common/aarch64/platform_up_stack.S @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014-2017, ARM Limited and Contributors. All rights reserved. + * Copyright (c) 2014-2019, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ @@ -12,8 +12,6 @@ .local platform_normal_stacks .weak plat_set_my_stack .weak plat_get_my_stack - .weak platform_set_stack - .weak platform_get_stack /* ----------------------------------------------------- * uintptr_t plat_get_my_stack ()